$(document).ready(function() {
	
    /* проверка логина */
	
    $("#loginForRecovery").keyup(function() {
        var account = $("loginForRecovery").val();
        $("imgLoad").show();
        $.ajax({
            type: "POST",
            url: "recovery.php",
            data: {
                'accountForRecovery' : account,
                'recoveryStepOne' : 'recoveryStepOne'
            },
            success: function(msg) {
                $("#showMessageRecovery").html(msg);
                $("imgLoad").hide();
            }
				
        });
    });
	
});
